x11: Ensure we have a dnd-ask cursor
authorMatthias Clasen <mclasen@redhat.com>
Fri, 8 Jan 2016 20:37:10 +0000 (15:37 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 8 Jan 2016 23:11:07 +0000 (18:11 -0500)
We use this for DND, so make sure that we fall back to some other
cursor if this one isn't present.

gdk/x11/gdkcursor-x11.c

index 03d49baa9688b2080a8eb85d29208887676bdec6..3cce62fed4dd563a976b725b86e20b56b3a628a8 100644 (file)
@@ -624,6 +624,7 @@ static const struct {
   { "copy",         "dnd-copy" },
   { "move",         "dnd-move" },
   { "no-drop",      "dnd-none" },
+  { "dnd-ask",      "dnd-copy" }, /* not CSS, but we want to guarantee it anyway */
   { "not-allowed",  "crossed_circle" },
   { "grab",         "hand2" },
   { "grabbing",     "hand2" },